home *** CD-ROM | disk | FTP | other *** search
/ Die Speccy' 97 / Die Speccy' 97.iso / amiga_system / the_aminet / comm / tcp / rdatetz.readme < prev    next >
Text File  |  1995-11-07  |  2KB  |  58 lines

  1. Short:    Alternative to SynClock, sets timezone
  2. Uploader: Dave.Sparks@sisyphus.demon.co.uk
  3. Type:     comm/tcp
  4.  
  5. Author:        Dave.Sparks@sisyphus.demon.co.uk
  6.  
  7. Requires:   WB 2.04, AmiTCP
  8. Version:    2 (no previous version on aminet)
  9.  
  10.  
  11. RdateTZ is an alternative to utilities such as SynClock, which set the
  12. local clock in accordance with the time obtained by querying the `daytime'
  13. port (13) of a remote host.  RdateTZ improves on SynClock by:
  14.  
  15.     1    Using the `time' port (37) of the remote host, which returns
  16.     the GMT value of the remote host's clock.  (The `daytime'
  17.     port (13) normally returns the local time at the remote host's
  18.     site, but could return GMT and is not required to identify the
  19.     timezone - see RFC867.)
  20.  
  21.     2    (Optionally) ignoring a remote host whose clock is too far
  22.     out of step with the local clock (reducing the risk of
  23.     synchronising with a clock which is running fast or slow).
  24.  
  25.     3    Using datagrams rather than a stream, which allows several
  26.     remote hosts to be queried simultaneously.  The first
  27.     acceptable (see 2 above) reply is used.
  28.  
  29.     4    Using a file of timezone specifications to set the local clock
  30.     to a specified timezone, allowing for daylight saving time if
  31.     appropriate.  A subset of the XPG3 standard for the TZ
  32.     environment variable is used, which allows the offsets and
  33.     daylight saving time start and end dates of most timezones to
  34.     be encoded.
  35.  
  36.     5    Setting a value identifying the selected timezone in the TZ
  37.     environment variable, and recording an RFC822-compliant
  38.     timezone identifier in the comment associated with the file
  39.     holding this environment variable.
  40.  
  41. SetTZ provides a subset of the RdateTZ interface, which allows the local
  42. clock to be set to a specified timezone without changing the GMT value of
  43. the clock.  This can be called each time the machine is rebooted, or in the
  44. early hours of every morning, to switch to or from daylight saving time on
  45. the appropriate dates.    No attempt is made to access any external host.
  46.  
  47.  
  48. ============================= Archive contents =============================
  49.  
  50. Original  Packed Ratio    Date     Time    Name
  51. -------- ------- ----- --------- --------  -------------
  52.    10304    5516 46.4% 03-Nov-95 19:28:16  RdateTZ
  53.    19308    7494 61.1% 04-Nov-95 08:38:10  RdateTZ.man
  54.     3293    1564 52.5% 04-Nov-95 09:02:04  RdateTZ.readme
  55.     1769     832 52.9% 02-Nov-95 07:31:36  TZ.dat
  56. -------- ------- ----- --------- --------
  57.    34674   15406 55.5% 04-Nov-95 09:36:26   4 files
  58.